package com.zbkj.common.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Auther: liuxiaowei
 * @Date: 2022-4-1 00:01
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OssStsTokenVo对象", description="阿里云oss临时访问凭证")
public class OssStsTokenVo implements Serializable {
        private static final long serialVersionUID=1L;

        @ApiModelProperty(value = "临时访问AccessKey ID")
        public String accessKeyId;

        @ApiModelProperty(value = "临时访问AccessKey Secret")
        public String accessKeySecret;

        @ApiModelProperty(value = "安全令牌SecurityToken")
        public String securityToken;

        @ApiModelProperty(value = "oss-Endpoint")
        public String endpoint;

        @ApiModelProperty(value = "oss访问域名")
        public String domainUrl;

        @ApiModelProperty(value = "oss-bucketName")
        public String bucketName;

        @ApiModelProperty(value = "文件路径及文件名前缀")
        public String fileNamePre;

        @ApiModelProperty(value = "跳过增加域名filter拦截-服务端使用")
        public String domainFilter = "";
}
